//
//  LocationTool.h
//  HappyCarry
//
//  Created by 陈俊俊 on 15/8/7.
//  Copyright (c) 2015年 陈俊俊. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <BaiduMapAPI/BMapKit.h>

@protocol LocationGetAddressDelegate <NSObject>

- (void)getLocationAddress:(NSString *)address;

@end

@interface LocationTool : NSObject
@property (nonatomic, copy) NSString *address;
@property (nonatomic, strong) BMKUserLocation *location;
+ (LocationTool *)share;
- (void)getAddress;
- (void)getLocation;
- (CLLocationDistance)getDistanceWithBMKMapPoint:(BMKMapPoint )point;
@property (nonatomic,weak)id<LocationGetAddressDelegate>delegate;

@end
